Skip to content

Comments

feat: add ais.pagination widget support#30

Merged
sarahdayan merged 1 commit intomainfrom
feat/pagination-widget
Feb 23, 2026
Merged

feat: add ais.pagination widget support#30
sarahdayan merged 1 commit intomainfrom
feat/pagination-widget

Conversation

@sarahdayan
Copy link
Member

@sarahdayan sarahdayan commented Feb 22, 2026

Summary

  • Register the ais.pagination widget in the runtime with a passthrough transformParams (all params are serializable)
  • Enable pagination in the toolbar with full field configuration:
    • Number fields for totalPages and padding (with placeholder defaults)
    • Toggleable text field with element picker for scrollTo (off = false, on = selector or library default)
    • Boolean switches for showFirst, showLast, showNext, showPrevious
    • Toggleable CSS classes object with all 12 pagination class keys
  • Add field behavior tests, AI tool dispatch tests, and toolbar integration tests

Note

Partial prop support, only serializable props handled for now.

Capture d’écran 2026-02-22 à 11 16 39

@netlify
Copy link

netlify bot commented Feb 22, 2026

Deploy Preview for algolia-experiences-js ready!

Name Link
🔨 Latest commit a15657b
🔍 Latest deploy log https://app.netlify.com/projects/algolia-experiences-js/deploys/699c924b51810a0008822500
😎 Deploy Preview https://deploy-preview-30--algolia-experiences-js.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 22, 2026

Deploy Preview for algolia-experiences-react ready!

Name Link
🔨 Latest commit a15657b
🔍 Latest deploy log https://app.netlify.com/projects/algolia-experiences-react/deploys/699c924b4043ca000886d652
😎 Deploy Preview https://deploy-preview-30--algolia-experiences-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sarahdayan sarahdayan changed the title feat: add pagination widget support feat: add ais.pagination widget support Feb 22, 2026
@sarahdayan sarahdayan requested a review from dhayab February 23, 2026 10:16
@sarahdayan sarahdayan force-pushed the feat/pagination-widget branch from 7cbf998 to c437502 Compare February 23, 2026 13:22
Register the pagination widget in the runtime and enable it in the
toolbar with number fields, toggleable scroll-to, boolean switches,
and CSS classes configuration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sarahdayan sarahdayan force-pushed the feat/pagination-widget branch from c437502 to a15657b Compare February 23, 2026 17:45
@sarahdayan sarahdayan enabled auto-merge (squash) February 23, 2026 17:45
@sarahdayan sarahdayan merged commit 2bec307 into main Feb 23, 2026
8 checks passed
@sarahdayan sarahdayan deleted the feat/pagination-widget branch February 23, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants